content = '''1. 4-1-1402
2. 4-1-1902
3. 4-1-2001
4. 4-1-2101
5. 4-1-2201
6. 4-1-2202
7. 4-1-2301
8 .4-1-2401
9. 4-1-2402
10. 4-1-2502
11. 4-1-2602
12. 4-1-2702
13. 4-1-302
14. 4.1.401
15. 4_1_101
16. 4幢1单元102室
16. 4幢1单元202
'''


def extract(a):
    return a.replace(".", '-').replace('_', '-').replace('幢', '-').replace('单元', '-').replace('室', '').replace(' ', '')


# 已同意的户数
agree = []
for line in content.splitlines():
    parts = line.split('.', 1)
    agree.append(extract(parts[1]))

print(agree)
# 所有的户数列表
all = []
for i in range(1, 28):
    all.append(str(i) + '01')
    all.append(str(i) + '02')
print(all)

for a in all:
    if a not in agree:
        print(a)
